package com.rede.didiok.common.enums;

/**
 * 阅读权限枚举类
 *
 * @Author: 陌溪
 * @Date: 阅读权限
 */
public enum VisitAuthTypeEnum {

    /**
     * 公开
     */
    PUBLIC(1, "公开"),

    /**
     * 登录后可见
     */
    LOGIN(2, "登录阅读"),

    /**
     * 评论后可见
     */
    COMMENT(3, "评论阅读"),

    /**
     * 输入校验码后可见
     */
    CODE(4, "验证阅读"),

    /**
     * 会员可见
     */
    VIP(5, "会员阅读"),

    /**
     * 付费阅读
     */
    CASH(6, "付费阅读"),

    /**
     * 点赞阅读
     */
    PRAISE(7, "点赞阅读"),

    /**
     * 收藏阅读
     */
    COLLECT(8, "收藏阅读"),
    ;

    private final Integer type;
    private final String name;

    VisitAuthTypeEnum(Integer type, String name) {
        this.type = type;
        this.name = name;
    }

    public Integer getType() {
        return type;
    }

    public String getName() {
        return name;
    }
}